package com.example.weixinsystem.service.impl;

import com.example.weixinsystem.mapper.SysLogMapper;
import com.example.weixinsystem.service.SysLogService;
import com.weixin.common.core.entity.SysLog;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 系统操作日志 服务实现类
 * </p>
 *
 * @author rosszhang
 * @since 2023-07-05
 */
@Service
public class SysLogServiceImpl extends ServiceImpl<SysLogMapper, SysLog> implements SysLogService {

    /**
     * 保存日志
     *
     * @param sysLog 日志记录参数
     */
    @Override
    public void addSysLog(SysLog sysLog) {
        this.save(sysLog);
    }
}
